home *** CD-ROM | disk | FTP | other *** search
/ U.S. Robotics Connections 2 / US Robotics Connections.iso / pc / sourcepc / quicken / qhipatch.z / QHI3R8.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-08-21  |  1.7 KB  |  65 lines

  1. @echo off
  2.  
  3. REM **************************************************
  4. REM     THIS IS THE BATCH FILE THAT SHIPS TO OUR USERS
  5. REM **************************************************
  6.  
  7. REM     Check for QHI in the current directory
  8. if exist QHI.EXE goto PATCH
  9.  
  10. REM     Check that a directory was specified
  11. if (%1) == ()  goto NEEDDIR
  12.  
  13. REM     Check in the current directory of the specified drive
  14. REM     This also works if the direcory ends with a \
  15. if exist %1QHI.EXE goto DRVONLY
  16.  
  17. REM     Check for Quicken in the specified directory
  18. if exist %1\QHI.EXE goto PATCH
  19.  
  20. goto NOTFOUND
  21.  
  22.  
  23. REM     Apply the Patch file to QHI.  It will 
  24. REM     automatically detect the current version of QHI
  25. :PATCH
  26. patch  %1 qhi3r8.rtp
  27. goto EXIT
  28. :DRVONLY
  29. patch  %1. qhi3r8.rtp
  30. goto EXIT
  31.  
  32. :NEEDDIR
  33. echo --------------------------------------------------------
  34. echo - Please include the name of the directory that contains
  35. echo - Quicken Home Inventory 3 for Windows.  For example, 
  36. echo - you should type:
  37. echo - 
  38. echo -     QHI3R8 C:\QUICKENW
  39. echo - 
  40. echo - For more information, TYPE the README file.
  41. echo --------------------------------------------------------
  42. goto EXIT
  43.  
  44. :NOTFOUND
  45. echo --------------------------------------------------------
  46. echo - Quicken Home Inventory 3 for Windows was not found in 
  47. echo - the directory:
  48. echo - 
  49. echo -     %1
  50. echo - 
  51. echo - Please check that you are correctly typing the name
  52. echo - of the directory in which you installed Quicken Home
  53. echo - Inventory. For example, you should type:
  54. echo - 
  55. echo -     QHI3R8 C:\QUICKENW
  56. echo - 
  57. echo - For more information, TYPE the README file.
  58. echo --------------------------------------------------------
  59. goto EXIT
  60.  
  61.  
  62. :EXIT
  63.  
  64.  
  65.